package com.server.modules.sys.service;

import com.server.common.service.CrudService;
import com.server.modules.sys.dao.UserDao;
import com.server.modules.sys.entity.User;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * Created by 金贤哲 on 2017/5/27 0027.
 */
@Service
@Transactional(readOnly = true)
public class UserService extends CrudService<UserDao, User> {
    public List<User> finduser(String id){ return dao.finduser(id); }
    public List<User> findList1(User user){return dao.findList1(user);}
}

